package com.mymanyan.demo.secondary.mapper;

import com.mymanyan.demo.model.Car;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @ClassName CarMapper
 * @description: TODO
 * @author: 朱同学
 * @Date 2021/5/18 16:59
 **/
@Component
@Mapper
public interface CarSecMapper {

    @Select("select * from car")
    List<Car> findAll();
}
